package com.groupbuying.customer.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.groupbuying.customer.dao.CustomerIntegralDao;
import com.groupbuying.customer.domain.CustomerIntegralDO;
import com.groupbuying.customer.service.CustomerIntegralService;



@Service
public class CustomerIntegralServiceImpl implements CustomerIntegralService {
	@Autowired
	private CustomerIntegralDao customerIntegralDao;
	
	@Override
	public CustomerIntegralDO get(String uuid){
		return customerIntegralDao.get(uuid);
	}
	
	@Override
	public List<CustomerIntegralDO> list(Map<String, Object> map){
		return customerIntegralDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return customerIntegralDao.count(map);
	}
	
	@Override
	public int save(CustomerIntegralDO integral){
		return customerIntegralDao.save(integral);
	}
	
	@Override
	public int update(CustomerIntegralDO integral){
		return customerIntegralDao.update(integral);
	}
	
	@Override
	public int remove(String uuid){
		return customerIntegralDao.remove(uuid);
	}
	
	@Override
	public int batchRemove(String[] uuids){
		return customerIntegralDao.batchRemove(uuids);
	}
	
}
